@media (max-width: 900px) {

  /* Botón hamburguesa visible y posicionado */
  .mobile-burger {
    display: block !important;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
  }

  /* Ocultar navegación de escritorio */
  .fixed-top>nav {
    display: none !important;
  }

  /* Overlay (capa oscura) */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 1200;
  }

  /* Menú lateral (Drawer) */
  .mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 1300;
    transition: left .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  }

  /* Estados de apertura */
  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
  }

  body.mobile-nav-open .mobile-drawer {
    left: 0;
  }

  .mobile-drawer-header {
    padding: 20px;
    background: var(--vino);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-nav {
    overflow-y: auto;
  }

  .mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--vino);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-nav .submenu {
    display: none;
    background: #f9f9f9;
  }

  .mobile-nav li.is-expanded>.submenu {
    display: block;
  }

  /*Ajustes para el pop up*/
  .turismo-contenedor-mapa .turismo-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .turismo-contenedor-mapa .turismo-popup.hidden {
    transform: translateY(100%);
    opacity: 1;
  }

  .turismo-contenedor-mapa .popup-grid {
    flex-direction: row;
    align-items: center;
  }

  .turismo-contenedor-mapa .popup-media {
    width: 35%;
  }

  .turismo-contenedor-mapa .popup-main-img {
    height: 120px;
  }

  .turismo-contenedor-mapa .popup-info {
    width: 65%;
  }

  /* ==========================================================================
     AJUSTES DEL POP-UP PARA DISPOSITIVOS MÓVILES (BOTTOM SHEET)
     ========================================================================== */

  .turismo-popup {
    position: fixed !important;
    /* Se vuelve fijo en la pantalla del celular */
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0;
    /* Bordes redondeados superiores tipo app */
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    z-index: 2500;
    /* Por encima del overlay del menú móvil si es necesario */

    /* Animación suave de deslizamiento desde abajo */
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  /* Estado oculto: se esconde completamente hacia abajo */
  .turismo-popup.hidden {
    transform: translateY(100%) !important;
    opacity: 0;
    pointer-events: none;
  }

  /* Modificaciones del Layout en Móvil */
  .popup-content {
    padding: 20px 16px 30px 16px;
    /* Espacio extra abajo para la barra de navegación del celular */
  }

  .popup-grid {
    display: flex !important;
    flex-direction: row !important;
    /* Imagen a un lado, información al otro */
    align-items: center;
    gap: 12px;
  }

  /* La imagen ocupa un espacio controlado a la izquierda */
  .popup-main-img {
    width: 35% !important;
    height: 110px !important;
    object-fit: cover;
    border-radius: 8px;
  }

  /* La información ocupa el resto a la derecha */
  .popup-info {
    width: 65% !important;
    display: flex;
    flex-direction: column;
  }

  .popup-info h3 {
    font-size: 15px !important;
    margin-bottom: 4px;
  }

  .popup-info p {
    font-size: 12px !important;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Ocultamos el contenedor QR en celulares (nadie escanea un QR desde su propio celular) */
  .popup-qr-container {
    display: none !important;
  }

  /* Botón de acción compacto */
  .popup-btn {
    padding: 8px !important;
    font-size: 12px !important;
  }

  /* Botón de cerrar más cómodo para el dedo */
  .popup-close {
    top: 4px;
    right: 10px;
    font-size: 28px;
  }
}